{
  "title":"Feature Policy",
  "description":"This specification defines a mechanism that allows developers to selectively enable and disable use of various browser features and APIs. Feature Policy is deprecated and has been replaced with [Permissions Policy](/permissions-policy) and [Document Policy](/document-policy).",
  "spec":"https://www.w3.org/TR/2019/WD-feature-policy-1-20190416/",
  "status":"wd",
  "links":[
    {
      "url":"https://feature-policy-demos.appspot.com/",
      "title":"Feature Policy Kitchen Sink Demos"
    },
    {
      "url":"https://developers.google.com/web/updates/2018/06/feature-policy",
      "title":"Introduction to Feature Policy"
    },
    {
      "url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1390801",
      "title":"Firefox implemention ticket"
    },
    {
      "url":"https://chrome.google.com/webstore/detail/feature-policy-tester-dev/pchamnkhkeokbpahnocjaeednpbpacop",
      "title":"Feature Policy Tester (Chrome DevTools Extension)"
    },
    {
      "url":"https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/33507907-support-feature-policy",
      "title":"MS Edge feature suggestion"
    },
    {
      "url":"https://featurepolicy.info/",
      "title":"featurepolicy.info (Feature-Policy Playground)"
    },
    {
      "url":"https://github.com/w3c/webappsec-permissions-policy/blob/main/features.md",
      "title":"List of known features"
    }
  ],
  "bugs":[
    
  ],
  "categories":[
    "JS API",
    "Other",
    "Security"
  ],
  "stats":{
    "ie":{
      "5.5":"n",
      "6":"n",
      "7":"n",
      "8":"n",
      "9":"n",
      "10":"n",
      "11":"n"
    },
    "edge":{
      "12":"n",
      "13":"n",
      "14":"n",
      "15":"n",
      "16":"n",
      "17":"n",
      "18":"n",
      "79":"y",
      "80":"y",
      "81":"y",
      "83":"y",
      "84":"y",
      "85":"y",
      "86":"y",
      "87":"y",
      "88":"y #4",
      "89":"y #4",
      "90":"y #4",
      "91":"y #4",
      "92":"y #4",
      "93":"y #4",
      "94":"y #4",
      "95":"y #4",
      "96":"y #4"
    },
    "firefox":{
      "2":"n",
      "3":"n",
      "3.5":"n",
      "3.6":"n",
      "4":"n",
      "5":"n",
      "6":"n",
      "7":"n",
      "8":"n",
      "9":"n",
      "10":"n",
      "11":"n",
      "12":"n",
      "13":"n",
      "14":"n",
      "15":"n",
      "16":"n",
      "17":"n",
      "18":"n",
      "19":"n",
      "20":"n",
      "21":"n",
      "22":"n",
      "23":"n",
      "24":"n",
      "25":"n",
      "26":"n",
      "27":"n",
      "28":"n",
      "29":"n",
      "30":"n",
      "31":"n",
      "32":"n",
      "33":"n",
      "34":"n",
      "35":"n",
      "36":"n",
      "37":"n",
      "38":"n",
      "39":"n",
      "40":"n",
      "41":"n",
      "42":"n",
      "43":"n",
      "44":"n",
      "45":"n",
      "46":"n",
      "47":"n",
      "48":"n",
      "49":"n",
      "50":"n",
      "51":"n",
      "52":"n",
      "53":"n",
      "54":"n",
      "55":"n",
      "56":"n",
      "57":"n",
      "58":"n",
      "59":"n",
      "60":"n",
      "61":"n",
      "62":"n",
      "63":"n",
      "64":"n",
      "65":"n",
      "66":"n",
      "67":"n",
      "68":"n",
      "69":"n",
      "70":"n",
      "71":"n",
      "72":"n",
      "73":"n",
      "74":"a #2",
      "75":"a #2",
      "76":"a #2",
      "77":"a #2",
      "78":"a #2",
      "79":"a #2",
      "80":"a #2",
      "81":"a #2",
      "82":"a #2",
      "83":"a #2",
      "84":"a #2",
      "85":"a #2",
      "86":"a #2",
      "87":"a #2",
      "88":"a #2",
      "89":"a #2",
      "90":"a #2",
      "91":"a #2",
      "92":"a #2",
      "93":"a #2",
      "94":"a #2",
      "95":"a #2",
      "96":"a #2",
      "97":"a #2"
    },
    "chrome":{
      "4":"n",
      "5":"n",
      "6":"n",
      "7":"n",
      "8":"n",
      "9":"n",
      "10":"n",
      "11":"n",
      "12":"n",
      "13":"n",
      "14":"n",
      "15":"n",
      "16":"n",
      "17":"n",
      "18":"n",
      "19":"n",
      "20":"n",
      "21":"n",
      "22":"n",
      "23":"n",
      "24":"n",
      "25":"n",
      "26":"n",
      "27":"n",
      "28":"n",
      "29":"n",
      "30":"n",
      "31":"n",
      "32":"n",
      "33":"n",
      "34":"n",
      "35":"n",
      "36":"n",
      "37":"n",
      "38":"n",
      "39":"n",
      "40":"n",
      "41":"n",
      "42":"n",
      "43":"n",
      "44":"n",
      "45":"n",
      "46":"n",
      "47":"n",
      "48":"n",
      "49":"n",
      "50":"n",
      "51":"n",
      "52":"n",
      "53":"n",
      "54":"n",
      "55":"n",
      "56":"n",
      "57":"n",
      "58":"n",
      "59":"n",
      "60":"a #1",
      "61":"a #1",
      "62":"a #1",
      "63":"a #1",
      "64":"a #1",
      "65":"a #1",
      "66":"a #1",
      "67":"a #1",
      "68":"a #1",
      "69":"a #1",
      "70":"a #1",
      "71":"a #1",
      "72":"a #1",
      "73":"a #1",
      "74":"y",
      "75":"y",
      "76":"y",
      "77":"y",
      "78":"y",
      "79":"y",
      "80":"y",
      "81":"y",
      "83":"y",
      "84":"y",
      "85":"y",
      "86":"y",
      "87":"y",
      "88":"y #4",
      "89":"y #4",
      "90":"y #4",
      "91":"y #4",
      "92":"y #4",
      "93":"y #4",
      "94":"y #4",
      "95":"y #4",
      "96":"y #4",
      "97":"y #4",
      "98":"y #4",
      "99":"y #4"
    },
    "safari":{
      "3.1":"n",
      "3.2":"n",
      "4":"n",
      "5":"n",
      "5.1":"n",
      "6":"n",
      "6.1":"n",
      "7":"n",
      "7.1":"n",
      "8":"n",
      "9":"n",
      "9.1":"n",
      "10":"n",
      "10.1":"n",
      "11":"n",
      "11.1":"a #2 #3",
      "12":"a #2 #3",
      "12.1":"a #2 #3",
      "13":"a #2 #3",
      "13.1":"a #2 #3",
      "14":"a #2 #3",
      "14.1":"a #2 #3",
      "15":"a #2 #3",
      "15.1":"a #2 #3",
      "TP":"a #2 #3"
    },
    "opera":{
      "9":"n",
      "9.5-9.6":"n",
      "10.0-10.1":"n",
      "10.5":"n",
      "10.6":"n",
      "11":"n",
      "11.1":"n",
      "11.5":"n",
      "11.6":"n",
      "12":"n",
      "12.1":"n",
      "15":"n",
      "16":"n",
      "17":"n",
      "18":"n",
      "19":"n",
      "20":"n",
      "21":"n",
      "22":"n",
      "23":"n",
      "24":"n",
      "25":"n",
      "26":"n",
      "27":"n",
      "28":"n",
      "29":"n",
      "30":"n",
      "31":"n",
      "32":"n",
      "33":"n",
      "34":"n",
      "35":"n",
      "36":"n",
      "37":"n",
      "38":"n",
      "39":"n",
      "40":"n",
      "41":"n",
      "42":"n",
      "43":"n",
      "44":"n",
      "45":"n",
      "46":"n",
      "47":"a #1",
      "48":"a #1",
      "49":"a #1",
      "50":"a #1",
      "51":"a #1",
      "52":"a #1",
      "53":"a #1",
      "54":"a #1",
      "55":"a #1",
      "56":"a #1",
      "57":"a #1",
      "58":"a #1",
      "60":"a #1",
      "62":"y",
      "63":"y",
      "64":"y",
      "65":"y",
      "66":"y",
      "67":"y",
      "68":"y",
      "69":"y",
      "70":"y",
      "71":"y",
      "72":"y",
      "73":"y",
      "74":"y",
      "75":"y #4",
      "76":"y #4",
      "77":"y #4",
      "78":"y #4",
      "79":"y #4",
      "80":"y #4",
      "81":"y #4",
      "82":"y #4"
    },
    "ios_saf":{
      "3.2":"n",
      "4.0-4.1":"n",
      "4.2-4.3":"n",
      "5.0-5.1":"n",
      "6.0-6.1":"n",
      "7.0-7.1":"n",
      "8":"n",
      "8.1-8.4":"n",
      "9.0-9.2":"n",
      "9.3":"n",
      "10.0-10.2":"n",
      "10.3":"n",
      "11.0-11.2":"n",
      "11.3-11.4":"a #2 #3",
      "12.0-12.1":"a #2 #3",
      "12.2-12.5":"a #2 #3",
      "13.0-13.1":"a #2 #3",
      "13.2":"a #2 #3",
      "13.3":"a #2 #3",
      "13.4-13.7":"a #2 #3",
      "14.0-14.4":"a #2 #3",
      "14.5-14.8":"a #2 #3",
      "15.0-15.1":"a #2 #3"
    },
    "op_mini":{
      "all":"n"
    },
    "android":{
      "2.1":"n",
      "2.2":"n",
      "2.3":"n",
      "3":"n",
      "4":"n",
      "4.1":"n",
      "4.2-4.3":"n",
      "4.4":"n",
      "4.4.3-4.4.4":"n",
      "96":"y"
    },
    "bb":{
      "7":"n",
      "10":"n"
    },
    "op_mob":{
      "10":"n",
      "11":"n",
      "11.1":"n",
      "11.5":"n",
      "12":"n",
      "12.1":"n",
      "64":"y"
    },
    "and_chr":{
      "96":"y #4"
    },
    "and_ff":{
      "94":"a #2"
    },
    "ie_mob":{
      "10":"n",
      "11":"n"
    },
    "and_uc":{
      "12.12":"n"
    },
    "samsung":{
      "4":"n",
      "5.0-5.4":"n",
      "6.2-6.4":"n",
      "7.2-7.4":"n",
      "8.2":"a #1",
      "9.2":"a #1",
      "10.1":"a #1",
      "11.1-11.2":"y",
      "12.0":"y",
      "13.0":"y",
      "14.0":"y",
      "15.0":"y"
    },
    "and_qq":{
      "10.4":"a #1"
    },
    "baidu":{
      "7.12":"n"
    },
    "kaios":{
      "2.5":"n"
    }
  },
  "notes":"Standard support includes the HTTP `Feature-Policy` header, `allow` attribute on iframes and the `document.featurePolicy` JS API.",
  "notes_by_num":{
    "1":"Older Chromium browsers did not support the JS API.",
    "2":"Safari and Firefox only supports the `allow` attribute on iframes.",
    "3":"Safari doesn't support a [list of origins](https://bugs.webkit.org/show_bug.cgi?id=189901) or a [wildcard](https://bugs.webkit.org/show_bug.cgi?id=187816).",
    "4":"At least partially supports [Permissions Policy](/permissions-policy), the main replacement for this spec."
  },
  "usage_perc_y":71.63,
  "usage_perc_a":22.48,
  "ucprefix":false,
  "parent":"",
  "keywords":"feature,security,header,allow,attribute,allow attribute,attribute allow,feature-policy,document.featurePolicy,document.policy",
  "ie_id":"",
  "chrome_id":"5694225681219584,5190687460950016",
  "firefox_id":"feature-policy",
  "webkit_id":"",
  "shown":true
}
